﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static Enums.Split;

/// <summary>
/// String 类自定义扩展
/// </summary>
public static partial class StringExtension
{

    /// <summary>
    /// 游戏自定义解析文本
    /// </summary>
    /// <param name="str"></param>
    /// <param name="mode"></param>
    /// <returns></returns>
    public static string[] GameSplit(this string str, Mode mode = Mode.Prase_1)
    {
        return Utility.Split.SplitStr(str, mode);
    }
}
